package com.fengba.nanzhi.login;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.method.ScrollingMovementMethod;
import android.view.View;
import android.widget.ImageButton;
import android.widget.TextView;

import com.fengba.nanzhi.fengba.R;

/**
 * Created by duan on 2018/4/2.
 */

public class Yhxy extends AppCompatActivity {

    //文本
    private TextView tv_title;

    //返回
    private ImageButton Yretun;

    public Yhxy() {
    }


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.fx_yhxy);
        tv_title=(TextView) findViewById(R.id.tv_title);
        tv_title.setMovementMethod(ScrollingMovementMethod.getInstance());

        /**
         * 返回
         */
        Yretun = (ImageButton) findViewById(R.id.Yretun);
        Yretun.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(Yhxy.this, Reg.class);
                startActivity(intent);
            }
        });
    }//都在这里打



}
